package com.esaybbs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ClassName EasyWebApplication
 * @author: Zhou
 * @Project: JavaLaity
 * @Pcakage: com.esaybbs.EasyWebApplication
 * @Date: 2023年05月19日 16:05
 * @Version 1.0
 * @Description:
 */
@EnableAsync
@SpringBootApplication(scanBasePackages = {"com.easybbs"})
@MapperScan(basePackages = {"com.easybbs.mappers"})
@EnableTransactionManagement
@EnableScheduling
public class EasyWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyWebApplication.class, args);
    }
}